import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import '@/styles/common.less'
// 引入全局组件
import componentPlugin from '@/components'
// 图片懒加载
import defineDirective from '@/directives/index.js'

createApp(App).use(store).use(router).use(componentPlugin).use(defineDirective).mount('#app')
